package com.tom.myapt;

import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;
import apt.annotation.BindView;

/**
 * Added by Tom on 2023/12/13.
 * 自定义注解的使用。
 */
public class MainActivity1 extends AppCompatActivity {
    @BindView(R.id.tv1)
    TextView textView3;
    @BindView(R.id.tv2)
    TextView textView4;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        textView3.setText("butterKnife1");
        textView4.setText("butterKnife2");
    }

}
